<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.3"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SSDP Help: TextString</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">SSDP Help<span id="projectnumber">&#160;2.04.01</span>
   </div>
   <div id="projectbrief">仅供测试</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.3 -->
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',false,false,'search.php','搜索');
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-static-methods">静态 Public 成员函数</a> &#124;
<a href="../../d7/d52/struct_text_string-members.html">所有成员列表</a>  </div>
  <div class="headertitle"><div class="title">TextString</div></div>
</div><!--header-->
<div class="contents">

<p>文本字符串  
 <a href="../../db/d83/struct_text_string.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="../../d6/d7c/_a_t_txt_str_8h_source.html">ATTxtStr.h</a>&gt;</code></p>

<p>继承自 RefCountedBase .</p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:ae342455ab5f864ded992857fa978d4b4"><td class="memItemLeft" align="right" valign="top">ATDATACORE_EXPORT XRange2dCR&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d83/struct_text_string.html#ae342455ab5f864ded992857fa978d4b4">GetExtents</a> () const</td></tr>
<tr class="memdesc:ae342455ab5f864ded992857fa978d4b4"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取局部坐标系下整个文本字符串的界限（即对齐范围）  <a href="../../db/d83/struct_text_string.html#ae342455ab5f864ded992857fa978d4b4">更多...</a><br /></td></tr>
<tr class="separator:ae342455ab5f864ded992857fa978d4b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a84c07c73b4c8397863ebfab573dd817f"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d83/struct_text_string.html#a84c07c73b4c8397863ebfab573dd817f">GetWidth</a> () const</td></tr>
<tr class="memdesc:a84c07c73b4c8397863ebfab573dd817f"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取文本字符串范围的宽度  <a href="../../db/d83/struct_text_string.html#a84c07c73b4c8397863ebfab573dd817f">更多...</a><br /></td></tr>
<tr class="separator:a84c07c73b4c8397863ebfab573dd817f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a63de8c800b0decec41b108d45b265c36"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d83/struct_text_string.html#a63de8c800b0decec41b108d45b265c36">GetHeight</a> () const</td></tr>
<tr class="memdesc:a63de8c800b0decec41b108d45b265c36"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取文本字符串范围的高度  <a href="../../db/d83/struct_text_string.html#a63de8c800b0decec41b108d45b265c36">更多...</a><br /></td></tr>
<tr class="separator:a63de8c800b0decec41b108d45b265c36"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0289d77075886166007c1daf55e95b62"><td class="memItemLeft" align="right" valign="top">ATDATACORE_EXPORT ATECStatus&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d83/struct_text_string.html#a0289d77075886166007c1daf55e95b62">SetOriginFromUserOrigin</a> (XPoint3dCR)</td></tr>
<tr class="memdesc:a0289d77075886166007c1daf55e95b62"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置文本字符串的用户原点  <a href="../../db/d83/struct_text_string.html#a0289d77075886166007c1daf55e95b62">更多...</a><br /></td></tr>
<tr class="separator:a0289d77075886166007c1daf55e95b62"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-static-methods" name="pub-static-methods"></a>
静态 Public 成员函数</h2></td></tr>
<tr class="memitem:ae4a5e0c57fe765b88fa291a47bdd2b51"><td class="memItemLeft" align="right" valign="top">static ATDATACORE_EXPORT TextStringPtr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d83/struct_text_string.html#ae4a5e0c57fe765b88fa291a47bdd2b51">Create</a> ()</td></tr>
<tr class="memdesc:ae4a5e0c57fe765b88fa291a47bdd2b51"><td class="mdescLeft">&#160;</td><td class="mdescRight">创建新的空白文本字符串实例，只有当调用了初始化方法后该实例才真正有效  <a href="../../db/d83/struct_text_string.html#ae4a5e0c57fe765b88fa291a47bdd2b51">更多...</a><br /></td></tr>
<tr class="separator:ae4a5e0c57fe765b88fa291a47bdd2b51"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa8a306d94aaf0a6bad1c127c72b0c7c7"><td class="memItemLeft" align="right" valign="top">static ATDATACORE_EXPORT TextStringPtr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d83/struct_text_string.html#aa8a306d94aaf0a6bad1c127c72b0c7c7">Create</a> (WCharCP, XPoint3dCP lowerLeft, XRotMatrixCP, TextStringPropertiesCR)</td></tr>
<tr class="memdesc:aa8a306d94aaf0a6bad1c127c72b0c7c7"><td class="mdescLeft">&#160;</td><td class="mdescRight">使用以NULL结尾的Unicode字符串和格式化参数创建文本字符串实例  <a href="../../db/d83/struct_text_string.html#aa8a306d94aaf0a6bad1c127c72b0c7c7">更多...</a><br /></td></tr>
<tr class="separator:aa8a306d94aaf0a6bad1c127c72b0c7c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p >文本字符串 </p>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/28 </dd></dl>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="ae4a5e0c57fe765b88fa291a47bdd2b51" name="ae4a5e0c57fe765b88fa291a47bdd2b51"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae4a5e0c57fe765b88fa291a47bdd2b51">&#9670;&nbsp;</a></span>Create() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static ATDATACORE_EXPORT TextStringPtr TextString::Create </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>创建新的空白文本字符串实例，只有当调用了初始化方法后该实例才真正有效 </p>
<dl class="section return"><dt>返回</dt><dd>ATDATACORE_EXPORT TextStringPtr</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/11 </dd></dl>

</div>
</div>
<a id="aa8a306d94aaf0a6bad1c127c72b0c7c7" name="aa8a306d94aaf0a6bad1c127c72b0c7c7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa8a306d94aaf0a6bad1c127c72b0c7c7">&#9670;&nbsp;</a></span>Create() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static ATDATACORE_EXPORT TextStringPtr TextString::Create </td>
          <td>(</td>
          <td class="paramtype">WCharCP&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XPoint3dCP&#160;</td>
          <td class="paramname"><em>lowerLeft</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XRotMatrixCP&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">TextStringPropertiesCR&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>使用以NULL结尾的Unicode字符串和格式化参数创建文本字符串实例 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">WCharCP</td><td></td></tr>
    <tr><td class="paramname">XPoint3dCP</td><td>lowerLeft </td></tr>
    <tr><td class="paramname">XRotMatrixCP</td><td></td></tr>
    <tr><td class="paramname">TextStringPropertiesCR</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATDATACORE_EXPORT TextStringPtr</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/11 </dd></dl>

</div>
</div>
<a id="ae342455ab5f864ded992857fa978d4b4" name="ae342455ab5f864ded992857fa978d4b4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae342455ab5f864ded992857fa978d4b4">&#9670;&nbsp;</a></span>GetExtents()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATDATACORE_EXPORT XRange2dCR TextString::GetExtents </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取局部坐标系下整个文本字符串的界限（即对齐范围） </p>
<dl class="section return"><dt>返回</dt><dd>ATDATACORE_EXPORT XRange2dCR</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/11 </dd></dl>

</div>
</div>
<a id="a63de8c800b0decec41b108d45b265c36" name="a63de8c800b0decec41b108d45b265c36"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a63de8c800b0decec41b108d45b265c36">&#9670;&nbsp;</a></span>GetHeight()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double TextString::GetHeight </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>获取文本字符串范围的高度 </p>
<dl class="section return"><dt>返回</dt><dd>double</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/11 </dd></dl>

</div>
</div>
<a id="a84c07c73b4c8397863ebfab573dd817f" name="a84c07c73b4c8397863ebfab573dd817f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a84c07c73b4c8397863ebfab573dd817f">&#9670;&nbsp;</a></span>GetWidth()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double TextString::GetWidth </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>获取文本字符串范围的宽度 </p>
<dl class="section return"><dt>返回</dt><dd>double</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/11 </dd></dl>

</div>
</div>
<a id="a0289d77075886166007c1daf55e95b62" name="a0289d77075886166007c1daf55e95b62"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0289d77075886166007c1daf55e95b62">&#9670;&nbsp;</a></span>SetOriginFromUserOrigin()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATDATACORE_EXPORT ATECStatus TextString::SetOriginFromUserOrigin </td>
          <td>(</td>
          <td class="paramtype">XPoint3dCR&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置文本字符串的用户原点 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">XPoint3dCR</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATDATACORE_EXPORT ATECStatus</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/11 </dd></dl>

</div>
</div>
<hr/>该结构体的文档由以下文件生成:<ul>
<li>D:/doxy/PublicAPI/ATDataCore/<a class="el" href="../../d6/d7c/_a_t_txt_str_8h_source.html">ATTxtStr.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.3
</small></address>
</body>
</html>
